package com.classroompie.classroompiepojo.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;

/**
 * @author jiahao
 * @since 2024/6/20 周四
 */
@Data
public class BaseModel {
    @Id(keyType = KeyType.Generator,value = KeyGenerators.snowFlakeId)
    private String id;
}
